<!DOCTYPE html>
<html xmlns:th="http://www.w3.org/1999/xhtml">
<html>
<head>
    <meta charset="utf-8">
    <title>本科教育</title>
    <link rel="stylesheet" href="./css/header.css" th:href="@{/css/header.css}"/>
    <link rel="stylesheet" href="./css/footer.css" th:href="@{/css/footer.css}"/>
    <!-- <link rel="stylesheet" href="./css/bootstrap.css" /> -->
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.0/dist/css/bootstrap.min.css" integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk" crossorigin="anonymous">
    <link rel="stylesheet" href="./css/kj.css" th:href="@{/css/kj.css}"/>
    <style>
        .page-div{
            margin-top: 20px;
            margin-left: 300px;
        }
        #currentPage{
            max-width: 40px;
            text-align: center;
            color: red;
        }
    </style>
</head>
<body >
<!-- header start -->
<div id="head"></div>
<!-- header end -->

<div class="content">
    <div class="content-header">
        <span style="color: white;font-size:35px">电气工程学院</span><br>
        <span style="color: white;font-size:50px;font-weight: bold;">师资队伍</span><br>
        <button type="button" class="self-btn">学院简介</button>
    </div>
</div>


<div class="container-fluid" style="margin: 0px;padding: 0px;">
    <div class="row">
        <div class="col-md col-md-12" style="margin-top: 30px;margin-left: 30px;">
            <div class="col-md-2 offset-10">
                <a href="#" style="font-size: 20px;">首页</a>
                <span style="font-size: 20px;">&nbsp;&nbsp;>&nbsp;&nbsp;</span>
                <a href="#" style="font-size: 20px;">通知公告</a>
            </div>
        </div>

        <div class="col-md col-md-2" style="margin-top: 15px;margin-left: 10px;">
            <div class="div-list" style="background-color: #002B5E;color: white;">
                <span style="font-size: 20px;">通知公告</span>
            </div>
        </div>
        <div class="col-md" style="margin-top: 15px;margin-left: 25px;">
            <div class="div-line"></div>
            <span style="font-size: 20px;font-weight: bold;">通知公告</span>
            <div class="page-div">
                共<span style="color: red;">8</span>条数据<span style="color: red;">1</span>页
                <button type="button" class="btn-sm btn-info">上一页</button>
                第<input type="text" id="currentPage" value="1"/> 页
                <button type="button" class="btn-sm btn-info">下一页</button>
            </div>
            <div class="div-content " style="height: 100%">
                <table class="table table-hover text-center" width="100%">
                    <tr>
                        <th>编号</th>
                        <th>分类</th>
                        <th>标题</th>
                        <th>日期</th>
                        <th>点击次数</th>
                    </tr>
                    <tr th:each="index,item : ${articleList}">
                        <td th:text="${item.id}">1</td>
                        <td>[通知公告]</td>
                        <!--http://localhost:8080/dianqi/article/b870abb1-c760-45f1-8828-55bd98111ec3-->
                        <td><a href="#" th:href="@{/article/}+${item.id}">{{item.title}}</a></td>
                        <td th:text="${#dates.format(item.date,'yyyy-MM-dd HH:mm:ss')}">2020-09-01</td>
                        <td><span class="text-danger" th:text="${item.views}">87</span>&nbsp;次点击</td>
                    </tr>
                    <tr>
                        <td>2</td>
                        <td>[通知公告]</td>
                        <td><a href="#"> 电气工程学院召开“以案促改”专题学习讨论会</a></td>
                        <td>2020-09-01</td>
                        <td><span class="text-danger">87</span>&nbsp;次点击</td>
                    </tr>
                    <tr>
                        <td>3</td>
                        <td>[通知公告]</td>
                        <td><a href="#">电气工程学院2020级新生开学典礼</a></td>
                        <td>2020-09-01</td>
                        <td><span class="text-danger">87</span>&nbsp;次点击</td>
                    </tr>
                    <tr>
                        <td>4</td>
                        <td>[通知公告]</td>
                        <td><a href="#">电气工程学院2020级新生开学典礼</a></td>
                        <td>2020-09-01</td>
                        <td><span class="text-danger">87</span>&nbsp;次点击</td>
                    </tr>
                    <tr>
                        <td>5</td>
                        <td>[通知公告]</td>
                        <td><a href="#">电气工程学院2020级新生开学典礼</a></td>
                        <td>2020-09-01</td>
                        <td><span class="text-danger">87</span>&nbsp;次点击</td>
                    </tr>
                    <tr>
                        <td>6</td>
                        <td>[通知公告]</td>
                        <td><a href="#">电气工程学院2020级新生开学典礼</a></td>
                        <td>2020-09-01</td>
                        <td><span class="text-danger">87</span>&nbsp;次点击</td>
                    </tr>
                    <tr>
                        <td>7</td>
                        <td>[通知公告]</td>
                        <td><a href="#">电气工程学院2020级新生开学典礼</a></td>
                        <td>2020-09-01</td>
                        <td><span class="text-danger">87</span>&nbsp;次点击</td>
                    </tr>
                    <tr>
                        <td>8</td>
                        <td>[通知公告]</td>
                        <td><a href="#">电气工程学院2020级新生开学典礼</a></td>
                        <td>2020-09-01</td>
                        <td><span class="text-danger">87</span>&nbsp;次点击</td>
                    </tr>
                </table>

            </div>
        </div>
    </div>
</div>
</div>

<!-- footer start -->
<div id="foot"></div>
<!-- footer end -->
</body>
</html>
<script src="https://cdn.bootcdn.net/ajax/libs/jquery/2.2.2/jquery.js"></script>
<script src="js/index.js"></script>
<script src="js/kj.js"></script>